<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>数据绑定基本语法</title>
</head>
<body>
<div id="app">
    <img src="https://p6.itc.cn/q_70/images03/20210527/f1705bc37ceb4b16bac26bfd3f7eda1f.jpeg" alt="">
    <!--<img src="{{ image_url }}">
    <img src="image_url">-->

    <img v-bind:src="image_url" alt="">
    <img :src="image_url" alt="">
</div>

<script type="module">

    import {createApp} from "../../../../../js/vue.esm-browser.js";

    const app = createApp({
        setup() {
            return {
                image_url: "https://p6.itc.cn/q_70/images03/20210527/f1705bc37ceb4b16bac26bfd3f7eda1f.jpeg",
            }
        }
    })

    app.mount("#app")
</script>
</body>
</html>